package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenj
 * @since 2019-11-06
 */
public class GoodsAttr extends Model<GoodsAttr> {

    private static final long serialVersionUID = 1L;

    private String id;

    private String goodsId;

    private String attrId;

    private String companyId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }
    public String getAttrId() {
        return attrId;
    }

    public void setAttrId(String attrId) {
        this.attrId = attrId;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "GoodsAttr{" +
            "id=" + id +
            ", goodsId=" + goodsId +
            ", attrId=" + attrId +
            ", companyId=" + companyId +
        "}";
    }
}
